<div class="normalPane">
    <div class="normalTitle">
        <span><b>支持的属性</b></span>
    </div>
    <ul class="normalContent pagination pagination-support">
        <li class="field">
            <span>connectedClients</span>
        </li>
        <li class="field">
            <span>blockedClients</span>
        </li>
        <li class="field">
            <span>rejectedConnections</span>
        </li>
        <li class="field">
            <span>used_memory</span>
        </li>
        <li class="field">
            <span>mem_fragmentation_ratio</span>
        </li>
        <li class="field">
            <span>usedCpuSys</span>
        </li>
        <li class="field">
            <span>totalKeys</span>
        </li>
        <li class="field">
            <span>expireKeys</span>
        </li>
        <li class="field">
            <span>instantaneous_input_kbps</span>
        </li>
        <li class="field">
            <span>instantaneous_output_kbps</span>
        </li>
        <li class="field">
            <span>responseTime</span>
        </li>
    </ul>
</div>
<div class="normalPane">
    <div class="normalTitle">
        <span><b>支持的语法</b>
        <span class="tip" > 示例：@{expireKeys}/@{totalKeys}&gt;=0.5</span>
        </span>
    </div>
    <ul class="normalContent pagination pagination-support">
        <li class="field">
            <span>&gt;</span>
        </li>
        <li class="field">
            <span>&lt;</span>
        </li>
        <li class="field">
            <span>==</span>
        </li>
        <li class="field">
            <span>&gt;=</span>
        </li>
        <li class="field">
            <span>&lt;=</span>
        </li>
        <li class="field">
            <span>( )</span>
        </li>
        <li class="field">
            <span>+</span>
        </li>
        <li class="field">
            <span>-</span>
        </li>
        <li class="field">
            <span>*</span>
        </li>
        <li class="field">
            <span>/</span>
        </li>
    </ul>
</div>
<div class="normalPane">
    <div class="row-button">
        <button id="addAlarmRule" class="btn btn-success"> Add Rule <span class="icon-plus-sign-alt"></span> </button>
    </div>
    <table id="ruleTable" data-toggle="table" class="table table-hover table-bordered fixed-table-header"  >
        <thead>
            <tr >
                <th  style="width:10px">#</th>
                <th  class="display-hide">id</th>
                <th  >属性 </th>
                <th  >描述 </th>
                <th  >规则 </th>
                <th  >日期 </th>
                <th  style="width:100px">Operation</th>
            </tr>
        </thead>
        <tbody>
        {{foreach from=$res item=rule}}
        <tr >
            <td  style="width:10px"> </td>
            <td  class="display-hide">{{$rule.id}}</td>
            <td  >{{$rule.limitName}} </td>
            <td  >{{$rule.description}}</td>
            <td  >{{$rule.formula}}</td>
            <td  >{{format_time time=$rule.updateTime}}</td>
            <td  style="width:100px">
                <div class="btn-group">
                    <button class=" btn btn-danger btn-xs btn-rule-delete" data-id="{{$rule.id}}" style="width:48px;height:28px;">Delete</button>
                </div>
            </td>
        </tr>
        {{/foreach}}
        </tbody>
    </table>
</div>




